package com.hxzy.mapper;

import com.hxzy.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
* @author 11452
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Mapper
* @createDate 2023-09-26 09:44:31
* @Entity com.hxzy.entity.SysMenu
*/
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据用户id查询拥有的菜单
     * @param userId
     * @return
     */
    Set<String> ownerMenuByUserId(Long userId);
}




